package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.entity.Brands;
import com.example.mall.param.BasePageParam;
import com.example.mall.param.brands.AddBrandsParam;
import com.example.mall.param.brands.BrandsNameParam;
import com.example.mall.param.brands.EditBrandsParam;
import com.example.mall.param.brands.FindBrandsParam;
import com.example.mall.vo.brands.FindAllVo;
import com.example.mall.vo.brands.FindByIdVo;

import java.util.HashMap;
import java.util.List;

public interface BrandsService extends IService<Brands> {

    Integer edit(EditBrandsParam param);

    Integer add(AddBrandsParam param);

    FindByIdVo BrandsFindById(FindBrandsParam param);

    HashMap BrandsFindAll(BasePageParam param);

    HashMap findByFlow(BasePageParam param);

    HashMap findByBrandsName(BrandsNameParam param);
}
